Skip to content

fix(sync): show the Passwords switch off while the server does not sync passwords - #4699

Merged
datlechin merged 1 commit into
mainfrom
fix/macos-sync-password-switch-shows-server-policy
Nov 28, 2026
Merged

datlechin merged 1 commit into
mainfrom
fix/macos-sync-password-switch-shows-server-policy

Conversation

@datlechin

Copy link
Copy Markdown
Member

Summary

  • macOS: Settings > Sync > Passwords shows off while the server holds passwords back (password_sync or personal_sync off), as a setting a profile manages does. It was disabled but still checked.
  • The stored choice is not touched, so the switch shows it again once the server allows password sync.
  • SyncPaneLayout.passwordSwitch(_:) decides the shown value; the switch's value and its disabled state read the same layout.
  • Windows: the same fix through SyncPane.PasswordsSwitch(_). The Passwords switch gets its own Toggled handler, so toggling another category no longer writes the shown-off switch back into the stored choice.
  • iOS has no TablePro Sync passwords switch, so it is unchanged.

Test plan

  • SyncPaneLayoutTests/passwordSwitchShowsTheServersHold(): shown off under password_sync off and personal_sync off, stored choice unchanged, shown on once the server allows it, off when the person turned it off.
  • SyncPaneTests.AServerThatHoldsPasswordsShowsTheSwitchOffAndTheStoredChoiceComesBackOnceItAllowsThem: the same on Windows.
  • Verify lines below.

@datlechin
datlechin merged commit b25a198 into main Nov 28, 2026
10 of 13 checks passed
@datlechin
datlechin deleted the fix/macos-sync-password-switch-shows-server-policy branch November 28, 2026 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant